package net.sourceforge.web.easyui;

import java.util.ArrayList;
import java.util.List;

/**
 * easyui properties grid model
 * 
 * @author alex
 *
 * @param <T>
 */
public abstract class EasyuiPropertyGridModel<T> {
	protected int total;
	protected List<EasyuiPropertyEntry> rows = new ArrayList<EasyuiPropertyEntry>();

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public List<EasyuiPropertyEntry> getRows() {
		return rows;
	}

	public void setRows(List<EasyuiPropertyEntry> rows) {
		this.rows = rows;
	}

	public abstract void createPropertyGridData(T t);
}
